package com.bailian.spring.ioc.sacn_type_03.config;

import com.bailian.spring.ioc.sacn_type_03.anno.Animal;
import com.bailian.spring.ioc.sacn_type_03.color.Color;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * @author gaoxu
 * date: Created on 2021/11/2 下午4:23
 */
@Configuration
@ComponentScan(basePackages = "com.bailian.spring.ioc.sacn_type_03",
        includeFilters = {@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = Color.class)},
        excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION, value = Animal.class)})
public class TypeFilterConfiguration {

}
